<template>
  <Page :total="pagination.total" :page-size="pagination.per_page" :current="pagination.current" show-total  show-elevator @on-change="handleChange"></Page>
</template>

<script>
  export default {
    props: ['pagination'],
    data() {
      return {

      }
    },

    methods: {
      // 页码切换事件
      handleChange(currentPage) {
        this.$emit('pagination', currentPage);
      }

    }
  }
</script>
